﻿using System;
using System.Collections.Generic;
using System.Dynamic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Top.PointStore.LuckTurntable
{
    public class LuckProduct
    {
        public int ID { get; set; }
        /// <summary>
        /// 奖品id
        /// </summary>
        public int Kid { get; set; }
        /// <summary>
        /// 奖品图片角度
        /// </summary>
        public double Angle { get; set; }
        /// <summary>
        /// 奖品名称
        /// </summary>
        public string Name
        {
            get;
            set;
        }
        /// <summary>
        /// 中奖概率
        /// </summary>
        public double Chance { get; set; }
        /// <summary>
        /// 奖品数量
        /// </summary>
        public int Count { get; set; }
        /// <summary>
        /// 增加积分，实物为0，虚拟为对应的积分
        /// </summary>
        public double Point { get; set; }
        /// <summary>
        /// 中奖描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 出奖周期
        /// </summary>
        public int Rate { get; set; }

        /// <summary>
        /// 周期内最大出奖量
        /// </summary>
        public int MaxCount { get; set; }

        /// <summary>
        /// 周期内已出奖数量
        /// </summary>
        public int LuckCount { get; set; }

        public int ProductKid { get; set; }
    }

    public class LuckProducInfo
    {
        public int LuckProductKid { get; set; }
        public int Count { get; set; }
    }

    public class LuckProductExpand : LuckProduct
    {
        public int ProductKid { get; set; }

        public int ID { get; set; }
    }

}
